Mollie\WooCommerce\Gateway\GatewayModule B

Total Complexity 88
Dependencies 33
Dependents 1
Total lines 671
Lines of code 510
Logical lines of code 298
Comment lines 78
Methods 15
Properties 2

Methods 15

Method Rating Maintainability Complexity Lines of code
run()
A
34 10 107
services()
A
33 9 117
maybeDisableApplePayGateway()
A
48 13 31
maybeDisableBankTransferGateway()
A
52 13 23
instantiatePaymentMethodGateways()
A
37 6 87
maybeDisableBillieGateway()
A
56 9 18
disableMollieOnPaymentMethodChange()
S
60 7 12
organizationBillingFieldMandatory()
S
51 5 29
instantiatePaymentMethods()
S
49 3 35
mollieApplePayDirectHandling()
S
61 3 11
molliePayPalButtonHandling()
S
62 3 11
setOrderPaidByOtherGateway()
S
62 3 10
disableSEPAInCheckout()
S
71 2 6
gatewaySurchargeHandling()
S
81 1 3
buildPaymentMethod()
S
65 1 10